package com.shuai.frame.fault.tolerate;

/**
 * @author bxs
 * @version 1.0
 * @Date 2024/7/30
 */

import com.shuai.frame.model.RpcResponse;

import java.util.Map;

/**
 * 容错策略
 */
public interface TolerateStrategy {
    RpcResponse doTolerate(Map<String, Object> context, Exception e);
}
